package com.hst.capacity.infra.persistence.mybatis;

import com.hst.capacity.domain.model.request.OrderForDispatchParam;
import com.hst.capacity.domain.model.request.export.OrderExportParam;
import com.hst.capacity.domain.model.response.export.ExportOrderVO;
import com.hst.capacity.domain.model.response.export.JourneyVO;
import com.hst.capacity.domain.model.response.order.OrderForDispatchVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {

    List<OrderForDispatchVO> searchWithConditionsAndPaging(OrderForDispatchParam param);

    Long searchWithConditionsAndPagingTotal(OrderForDispatchParam param);

    Long findUnDispatchVirtualOrder(String idFranchisee);

    List<ExportOrderVO> findExportOrderListData(OrderExportParam param);

    List<JourneyVO> findExportJourneyListData(String idInvoice);

    List<ExportOrderVO> findExportOrderDataByPage(OrderExportParam param);

    Long findExportOrderDataCount(OrderExportParam param);

    List<ExportOrderVO> findExportOrderDataByPage2(OrderExportParam param);

    Long findExportOrderDataCount2(OrderExportParam param);

    List<ExportOrderVO> findExportOrderListData2(OrderExportParam param);

    List<ExportOrderVO> findExportOrderListData3(OrderExportParam param);

    List<ExportOrderVO> findExportOrderListDataWhenAccountMatch(OrderExportParam param);

//    List<ExportOrderVO> findExportAccountOrder(String idFranchisee,int moduleType);
//    List<ExportOrderVO> findExportAccountOrderCancel(String idFranchisee,int moduleType);
//    List<ExportOrderVO> findExportAccountOrderHistory(String idFranchisee,int moduleType);

}
